<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			let a = "ascasccas,aadadada";
			let b = a.substring(0, 10);
			let c = a.substr(0, 6);
			console.log(b);
			console.log(c);
		</script>
	</head>
	<body>
	</body>
</html>